<template>
  <div class="hm-header">
    我是hm-header
    <HMButton />
  </div>
</template>

<script>
export default {
  name: 'HMHeader' // 组件名，名字和文件名一致
}
</script>

<style>
.hm-header {
  background-color: purple;
  color: white;
}
</style>